package com.bml.architect.spring;

import com.bml.architect.spring.config.AppConfig;
import com.bml.architect.spring.service.User;
import com.bml.architect.spring.service.User1;
import com.bml.architect.spring.service.UserService;
import org.springframework.context.annotation.AnnotatedBeanDefinitionReader;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ClassPathBeanDefinitionScanner;
import org.springframework.core.io.Resource;

import java.io.IOException;
import java.io.Serializable;
import java.util.Locale;

public class Test2 {

    public static void main(String[] args) throws IOException {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);


        Object obj = new UserService();
        System.out.println(obj instanceof Serializable);


    }


}
